package cn.lvji.springboot.learn.exception.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.SERVICE_UNAVAILABLE,reason = "my exception")
public class MyException extends RuntimeException{

    public MyException(String message) {
        super(message);
    }
}
